package com.liyu.iblog.service;

import java.util.List;

import com.liyu.iblog.domain.Category;

public interface CategoryService {
    
    public static final String DEFAULT_CATEGORY_NAME = "Blog";
    
    public Category getCategory(Object key);
    
    public void saveCategory(Category category);
    
    public void deleteCategory(String id);
    
    public List<Category> getAllCategories();
}
